import {getStorageString} from "./localStorage.js";
import md5 from "blueimp-md5"

export function checkLogin() {
    return !!getStorageString('token')
}

export function MD5(key, str) {
    return md5(key + str)
}